from pydantic import BaseModel
from datetime import datetime


class Plot_crop(BaseModel):
    CropName: str
    PlantingStartDate: datetime
    PlantingEndDate: datetime
    CropPropertiesJSON: str

    class Config:
        orm_mode = True
